export interface User {
  id: number
  username: string
  email?: string
  avatar?: string
  phonenumber?: string
}

export interface LoginForm {
  username: string
  password: string
  remember?: boolean
}

export interface RegisterForm {
  username: string
  password: string
  confirmPassword?: string
  email?: string
  phonenumber?: string
}

export interface ApiResponse<T = any> {
  code: number
  message: string
  data?: T
}